package com.yzdg.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yzdg.model.auth.dtos.AuthUserDTO;
import com.yzdg.model.user.dtos.AddScoreDTO;
import com.yzdg.model.user.dtos.updateUserDTO;
import com.yzdg.model.user.entitys.UserInfo;
import com.yzdg.model.user.vos.GetUserVO;

import java.util.List;

public interface UserInfoService extends IService<UserInfo> {

    Long login(AuthUserDTO authUserDTO);

    GetUserVO getUserById(Long id);

    boolean updateUser(updateUserDTO updateUserDTO);

    Boolean sign(Long userId);

    void addScore(AddScoreDTO addScoreDTO);

    List<UserInfo> queryHighScore();
}